﻿* {
  box-sizing: border-box;
}

body {
  font-family: 'Gotham Ultra', sans-serif;
  /* line-height: 1.1;*/
  word-wrap: break-word;
  /*briser les line trop longue */
  cursor: pointer;
  font-size: 1.9vmin;
  font-weight: 600;
  margin-top: -30px;
}

img {
  width: 100%;
  margin: 0 2px 0 1px;
  border-radius: 6px;
  box-shadow: 3px 3px 4px #7A1328;
}

article {
  padding: 5px;
  border: 2px solid #f3081a;
  border-radius: 10px;
  background: #fff;
}

a:link,
a:visited {
  color: black;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    color: maroon;
}
h1 {
  display: block;
  text-align: center;
  font-size: 4.8vmin;/*
  padding-bottom: 2.2rem;*/
}

h1 .sub {
  font-size: 3.5vmin;
  color: maroon;
  font-style: italic;
  display: block;
}

h2 {
  font-size: 4vmin;
  margin-top: 1.2rem !important;
}

h2 .sub2 {
  font-size: 2.8vmin;
  color: maroon;
  font-style: italic;
}

h2 .sub2a {
  display: block;
  font-size: 2.8vmin;
  color: maroon;
  font-style: italic;
}

h3 {
  margin-left: 2px;/*
  padding-bottom: 0.2rem;*/
  font-size: 3vmin;
}

h3 .sub3 {
  font-size: 2vmin;
  color: maroon;
  font-style: italic;
  line-height: 1.2;
}

h3 .sub3a {
  display: block;
  font-size: 1.8vmin;
  color: maroon;
  font-style: italic;
  line-height: 1.2;
}


.list-inline {
  display: inline-flex;
  padding-left: 0;
  list-style: none;
}

p {
  /*
text-indent: 30px;*/
  font-size: 1.8vmin;
  font-weight: 500;
  line-height: 1.3;
  margin-top: -0.5rem;;
  /* interlignage         */
  margin-bottom: 5px;
  padding: 0rem 0.2rem 0rem 0.2rem;
}

main {
  columns: 190px;
  /*  columns: 250px;  */
  column-gap: 10px;
  /* column-gap: 20px;*/
}

article {
  break-inside: avoid-column;
  margin-bottom: 1rem;
  padding: 7px;
  box-shadow: 2px 6px 10px #6e6c6c;
  border: 1px solid #fff;
}

.article1 {
  padding: 10px;
  box-shadow: 5px 10px 20px #888888;
  padding: 0px;
  border-radius: 7px;
  border: 1px solid #fff;
  background-image: linear-gradient(to top, #e8ec5b, #eaed7f, #ecef9f, #edefbd, #eff0db);
  /* blanc*/
}

/*   position   */
.text-center {
  text-align: center !important;
}

.text-right {
  text-align: right !important;
}
/* marges padding  espaces Aligner les éléments par rapport à l’axe de ligne horizontal  ou les colonnes vertical */

.mb-2 {
  margin-bottom: 1.3rem !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

.mb-3 {
  margin-bottom: 0.5rem !important;
}

.ml-5 {
  margin-top: 3rem !important;
}

.p-5 {
  padding: 3rem !important;
}

.pl-5 {
  padding: 3rem !important;
}

.px-2 {
  padding-right: 0.5rem !important;
  padding-left: 0.5rem !important;
}

/* redéfinir la boite des mots*/
.mots h4,
p {
  color: black;
  padding: 0 5px 0 10px;
  text-align: left;
}




/* *****************   details   summary******************/
.accordion {
  margin: 5px 30px 10px 30px;
  padding: 5px;
  /*positionne l'ensemble des accordions*/
  cursor: pointer;
}

/**/
.accordionitem {
  margin: -2px 0px 0 0;
  padding: 2px 0 3px 0;
  /* séparation en accordion)*/
  cursor: pointer;
}

summary {
  /*ligne icones test cliquage*/
  z-index: 2;
  border-color: #da291c;
  outline: none;
  color: blue;
  font-weight: 700;
  font-size: 2.5vmin;
  /* typo cliquez ici */
  /* cursor: pointer; djà dans main */
}

summary::-webkit-details-marker {
  display: none;
}

summary:after {
  /*icones */
  background: #da291c;
  border-color: #da291c;
  border-radius: 15px;
  /*
          content: "+";   enlève le signe plus           */
  color: #fff;
  float: left;
  font-weight: bold;
  margin: -2px 10px 0 0;
  padding: 1px 0 3px 0;
  text-align: center;
  width: 30px;
  /*       width: 30px;        icone + et triangle*/
}

details {
  /* espace autour du cliquage */
  background: rgba(5, 2, 15, 0.1);
  padding: 0.3em;
  /* espace valeur */
  border: 1px solid hsla(162, 76%, 32%, .3);
  color: black;
  border-radius: 5px;
}

details>ul {
  /* action sur le texte  contenu dans l'accordion*/
  /*  float: left; responsive */

  background: white;
  border-color: #da291c;
  padding: 0.5rem 0.7rem 0.7rem 2.7rem;
  border-radius: 5px;
  box-shadow: 1px 1px 3px hsla(162, 76%, 32%, .2);
  /**/
  font-size: 2.5vmin;
  font-weight: 600;
  line-height: 1.1;
  /* espace entre lignes */
  margin-top: 0.2em;
}

details>ul>li {
  /* float: left;  responsive */
  word-wrap: break-word;
  /*briser les line trop longue */
  font-size: 2.0vmin;
  margin: 0.8rem;
  /*espace vertical  entre les li*/
}



.dojo {
  background: red; /* For browsers that do not support gradients */
  background: -webkit-linear-gradient(red, yellow); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(red, yellow); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(red, yellow); /* For Firefox 3.6 to 15 */
  background: linear-gradient(red, yellow); /* Standard syntax */
}

.philo {
  background: red; /* For browsers that do not support gradients */
  background: -webkit-radial-gradient(red, yellow, green); /* Safari 5.1 to 6.0 */
  background: -o-radial-gradient(red, yellow, green); /* For Opera 11.6 to 12.0 */
  background: -moz-radial-gradient(red, yellow, green); /* For Firefox 3.6 to 15 */
  background: radial-gradient(red, yellow, green); /* Standard syntax */
}

.martial {  
background-image:-moz-linear-gradient(30deg, white, black);
background-image:-webkit-linear-gradient(30deg, white, black);
background-image:-o-linear-gradient(30deg, white, black);
background-image:linear-gradient(60deg, white, black);
}

.artvivre {
  /* background-color: #0E7D2E;*/
  background-image: linear-gradient(to top, #4db516, #5bc639, #69d753, #77e86c, #85f985);
}


/* animation avec animate*/

main {
  animation: example 1s infinite alternate;
  -webkit-animation: example 1s 2 alternate;
}

@keyframes example {
  0% {
    background-color: red;
    left: 0px;
    top: 0px;
  }

  25% {
    background-color: yellow;
    left: 200px;
    top: 0px;
  }

  50% {
    background-color: blue;
    left: 200px;
    top: 200px;
  }

  75% {
    background-color: green;
    left: 0px;
    top: 200px;
  }

  100% {
    background-color: red;
    left: 0px;
    top: 0px;
  }
}

.declage_txt {
  margin: -1.8% 0.5% 0.5% 30%;
}